package cn.com.bluemoon.daps.model.mapper;

import cn.com.bluemoon.daps.model.dto.UnRelationDto;
import cn.com.bluemoon.daps.model.entity.DapDataModelRelatedStandardResult;
import cn.com.bluemoon.daps.model.vo.SearchRelationVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 关联标准结果表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-08-07
 */
@Repository
public interface DapDataModelRelatedStandardResultMapper extends BaseMapper<DapDataModelRelatedStandardResult> {

    IPage<UnRelationDto> selectUnRelationPage(Page page,
                                              @Param("vo") SearchRelationVo vo,
                                              @Param("bmStatus") Integer bmStatus);

    IPage<UnRelationDto> selectRelationPage(Page page,
                                            @Param("vo") SearchRelationVo vo,
                                            @Param("bmStatus") Integer bmStatus);

    IPage<UnRelationDto> selectUnMatchAndIgnore(Page page,
                                                @Param("vo") SearchRelationVo vo,
                                                @Param("bmStatus") Integer bmStatus);
}
